#ifndef __SYS_H__
#define __SYS_H__
#include "libs/types.h"
#include "kernel/task/task.h"


#define	SYSTEM_REBOOT	(1UL << 0)

#define	SYSTEM_POWEROFF	(1UL << 1)


extern "C" uint64_t no_system_call(StackFrame* regs);
extern "C" uint64_t sys_printf(StackFrame* regs);
extern "C" uint64_t sys_open(StackFrame* regs);
extern "C" uint64_t sys_close(StackFrame* regs);
extern "C" uint64_t sys_read(StackFrame* regs);
extern "C" uint64_t sys_write(StackFrame* regs);
extern "C" uint64_t sys_lseek(StackFrame* regs);
extern "C" uint64_t sys_fork(StackFrame* regs);
extern "C" uint64_t sys_brk(StackFrame* regs);
extern "C" uint64_t sys_create(StackFrame* regs);

extern "C" uint64_t sys_reboot(StackFrame* regs);

#endif